#ifndef __STUDENT_H
#define __STUDENT_H

struct student {
    int (*student_self_introduction)(struct student *p_student);
    char name[10];
    unsigned id;
    char sex; ///* 性别:'M'，男； 'F' ，女 */
    float height;
    float weight;
};


int student_init(struct student * p_student,
        char *p_name,
        unsigned int id,
        char sex,
        float height,
        float weight,
        int (*student_self_introduction)(struct student *p_student));

int student_self_introduction(struct student *p_student);

#endif


